package com.ruoyi.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    /**
     * 网元列表
     */
    public static final String NET_ELEMENT_KEY = "netElement:";

    /**
     * 网元状态
     */
    public static final String NET_ELEMENT_STATUS = "netElementStatus:";

    /**
     * 告警代码信息
     */
    public static final String ALARM_INFO_KEY = "alarmInfo:";

    public static final String PERFORMANCE_INFO_KEY = "performanceInfo:";

    /**
     * 初始化网元端口
     */
    public static final String INIT_ELEMENT_PORT = "dict_element_mode_init";

    /**
     * redis 全局自增
     */
    public static final String REDIS_GLOBAL_INCR = "global_incr:";

    // vpws 区间 【1, 】
    public static final String INCR_KEY_VPWS = "vpws";
    // 出入标签 区间 [16,768432]
    public static final String INCR_KEY_OUT_LABEL = "out_label";
    public static final String INCR_KEY_IN_LABEL = "in_label";
    public static final String INCR_KEY_PW_CLASS_NAME = "pw_class_name";
    public static final String INCR_KEY_PW_TNL_PLCY = "pw_tnl_plcy";
    public static final String TUNNEL_ID = "tunnel_id";
    public static final String VC_ID = "vc_id";
    public static final String CLIENT_NUM = "client_num";

    public static final String TIME_SLOT = "time_slot";
    public static final String FG_CLIENT = "fg_client";

    public static final String ME_NAME = "me_name";

    public static final String OAM_ID = "oam_id";

    public static final String BUNDLE_ID = "bundle_id";

    public static final String LSP_ID = "lsp_id";

    public static final String MTN_CORSS = "mtn_cross";

    public static final String MTN_FGCLIENT_NUM = "mtn_fgclient_num";

    public static final String SINGLE_VETH = "single_veth";



}
